//
//  MVConllectionList.m
//  __PRODUCTNAME__
//
//  Created by QC.L on 16/08/15
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "MVConllectionList.h"
#import "MVSingers.h"

@implementation MVConllectionList

+ (NSDictionary *)objectClassInArray{
    return @{@"singers" : [MVSingers class]};
}
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"singers"]) {
        NSMutableArray *mArr = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            MVSingers *mvSinger = [MVSingers baseModelWithDic:dic];
            [mArr addObject:mvSinger];
        }
        _singers = mArr;
    }
}
@end
